package com.alimama.aop;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.stereotype.Component;

/**
 * 业务注解
 * @author JiangHuiJun
 *
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface BusAnnotion {
	
	public String vaule() default "";
	
	public String method() default "";
	
	/**
	 * 0:不校验session
	 * 1:登陆，设置session
	 * 2:需要校验session
	 * 3:注销，删除session
	 * @return
	 */
	public int  businessType() default 2;

}
